public class Sample2_2
{
	public static void main (String[] args)
	{
		int i;
		int k;
		int a;
		int d;
		i = 2147483647;
		k = -2147483648;
		a = i + 1;
		d = k - 1;
		System.out.println(a);
		System.out.println(d);
	}
}